package com.sgl;

import com.sgl.gk.controller.AdvancedTaskScheduleController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 *
 * @author sgl
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableScheduling  // 开启定时任务
public class SglApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(SglApplication.class, args);
        System.out.println("SglApplication start success...\n");
    }
}
